<edit name="edtCaption" taborder="0" text="" hint="Title for your table. Placed in the top middle." width="121" height="19" top="24" left="8"/>
<checkbox name="cbColor" caption="Background color" taborder="1" hint="Choose a background color for your table. Is only used if you check the checkbox." checked="0" width="121" height="14" top="8" left="136"/>
<checkbox name="cbWidth" caption="Width" taborder="4" hint="Specify the tables width. Check if the width should be set in your code." checked="0" width="65" height="14" top="56" left="64"/>
<checkbox name="cbWidthPercent" caption="%" taborder="6" hint="Decide if the value should be in percent (absolute) or in pixels (relative)." checked="1" width="25" height="17" top="74" left="132"/>
<checkbox name="cbHeight" caption="Height" taborder="7" hint="Specify the tables height. Check if the height should be set in your code." checked="0" width="57" height="14" top="56" left="168"/>
<checkbox name="cbHeightPercent" caption="%" taborder="9" hint="Decide if the value should be in percent (absolute) or in pixels (relative)." checked="1" width="35" height="17" top="74" left="238"/>
<spinedit name="speCellspacing" taborder="10" hint="Set the desired distance between cells." maxvalue="0" minvalue="0" value="2" width="180" height="20" top="24" left="280"/>
<spinedit name="speCellPadding" taborder="11" hint="Set the desired distance between text and cells." maxvalue="0" minvalue="0" value="1" width="180" height="20" top="72" left="280"/>
<label name="lblCellPadding" caption="Distance between text and cells" hint="Set the desired distance between text and cells." width="174" height="13" top="56" left="280"/>
<label name="lblCellSpacing" caption="Distance between cells" hint="Set the desired distance between cells." width="124" height="13" top="8" left="280"/>
<label name="lblCaption" caption="Title" hint="Title of your table. Placed in the top middle." width="24" height="13" top="8" left="8"/>
<label name="lblTableText" caption="Tabletext" hint="Type the text for the chosen cell here." width="59" height="13" top="16" left="8"/>
<speedbutton name="btnApplyText" glyph="icons\16x16\linebreak.bmp" caption="" hint="Insert the text for the chosen cell (can also be done with Enter)." width="33" height="33" top="32" left="360">
<label name="lblColumns" caption="Columns" hint="Choose how many columns there should be in your table." width="51" height="13" top="96" left="400"/>
<label name="lblRows" caption="Rows" hint="Choose how many rows there should be in your table." width="45" height="13" top="146" left="400"/>
<memo name="mmoCellText" taborder="0" hint="Type the text for the chosen cell here." width="345" height="33" top="32" left="8">
<event type="onkeypress" callFunction="KeyPress">
function KeyPress(Sender: TObject; var Key: Char);
begin
If Key = #13 then
begin
SetCellText;
Key := #0;
end;
Result := Key;
end;
</event>
</memo>
<spinedit name="speColumns" taborder="1" hint="Choose how many columns there should be in your table." maxvalue="100" minvalue="0" value="1" width="60" height="20" top="115" left="400">
<event type="onchange">
if speColumns.Value < 1 then exit;
stgTableCells.ColCount := speColumns.Value;
</event>
</spinedit>
<spinedit name="speRows" taborder="2" hint="Choose how many rows there should be in your table." maxvalue="100" minvalue="0" value="1" width="60" height="20" top="163" left="400">
<event type="onchange">
if speRows.Value < 1 then exit;
stgTableCells.RowCount := speRows.Value;
</event>
</spinedit>
<stringgrid name="stgTableCells" hint="Choose a cell, type the text above and press Enter or the Insert button." top="95" left="8" width="385" height="104" rowcount="1" colcount="1" fixedcols="0" fixedrows="0" ctl3d="0"/>